package com.ruoyi.gaokao.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考生类型编码对象 gk_candidate_type
 * 
 * @author xiaosong
 * @date 2025-07-07
 */
public class GkCandidateType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考生类型代码 */
    @Excel(name = "考生类型代码")
    private String code;

    /** 考生类型名称 */
    @Excel(name = "考生类型名称")
    private String name;

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .toString();
    }
}
